package org.hu.flexeasy.components
{
	import spark.layouts.HorizontalLayout;

	/**
	 * <p>
	 *     <b>HUBO 2012-1-20  /  hubo.0508ⓐgmail.com</br>org.hu.flexeasy.components.HGroupContainer.as</b>
	 * </p>
	 */
	public class HGroupContainer extends GroupContainer
	{
		public function HGroupContainer()
		{
			super();
			super.layout = new HorizontalLayout();
		}
		
		//----------------------------------
		//  paddingLeft
		//----------------------------------
		
		[Inspectable(category="General")]
		
		/**
		 *  @copy spark.layouts.HorizontalLayout#paddingLeft
		 *  
		 *  @default 0
		 *  
		 *  @langversion 3.0
		 *  @playerversion Flash 10
		 *  @playerversion AIR 1.5
		 *  @productversion Flex 4
		 */
		public function get paddingLeft():Number
		{
			return horizontalLayout.paddingLeft;
		}
		
		/**
		 *  @private
		 */
		public function set paddingLeft(value:Number):void
		{
			horizontalLayout.paddingLeft = value;
		}    
		
		//----------------------------------
		//  paddingRight
		//----------------------------------
		
		[Inspectable(category="General")]
		
		/**
		 *  @copy spark.layouts.HorizontalLayout#paddingRight
		 *  
		 *  @default 0
		 *  
		 *  @langversion 3.0
		 *  @playerversion Flash 10
		 *  @playerversion AIR 1.5
		 *  @productversion Flex 4
		 */
		public function get paddingRight():Number
		{
			return horizontalLayout.paddingRight;
		}
		
		/**
		 *  @private
		 */
		public function set paddingRight(value:Number):void
		{
			horizontalLayout.paddingRight = value;
		}    
		
		//----------------------------------
		//  paddingTop
		//----------------------------------
		
		[Inspectable(category="General")]
		
		/**
		 *  @copy spark.layouts.HorizontalLayout#paddingTop
		 *  
		 *  @default 0
		 *  
		 *  @langversion 3.0
		 *  @playerversion Flash 10
		 *  @playerversion AIR 1.5
		 *  @productversion Flex 4
		 */
		public function get paddingTop():Number
		{
			return horizontalLayout.paddingTop;
		}
		
		/**
		 *  @private
		 */
		public function set paddingTop(value:Number):void
		{
			horizontalLayout.paddingTop = value;
		}    
		
		//----------------------------------
		//  paddingBottom
		//----------------------------------
		
		[Inspectable(category="General")]
		
		/**
		 *  @copy spark.layouts.HorizontalLayout#paddingBottom
		 *  
		 *  @default 0
		 * 
		 *  @langversion 3.0
		 *  @playerversion Flash 10
		 *  @playerversion AIR 1.5
		 *  @productversion Flex 4
		 */
		public function get paddingBottom():Number
		{
			return horizontalLayout.paddingBottom;
		}
		
		/**
		 *  @private
		 */
		public function set paddingBottom(value:Number):void
		{
			horizontalLayout.paddingBottom = value;
		}    
		
		/**
		 *  @copy spark.layouts.HorizontalLayout#gap
		 * 
		 *  @default 6
		 *  
		 *  @langversion 3.0
		 *  @playerversion Flash 10
		 *  @playerversion AIR 1.5
		 *  @productversion Flex 4
		 */
		public function get gap():int
		{
			return horizontalLayout.gap;
		}
		
		/**
		 *  @private
		 */
		public function set gap(value:int):void
		{
			horizontalLayout.gap = value;
		}
		
		private function get horizontalLayout():HorizontalLayout
		{
			return HorizontalLayout(layout);
		}
	}
}